package cn.bone.ou.user.param;

import lombok.Data;

import javax.validation.constraints.NotNull;

public class UserParam {

    @Data
    public static class ListParam{
        @NotNull
        private Integer communityId;
        @NotNull
        private Integer start;
        @NotNull
        private Integer num;
        private String name;
        private Integer userType;
        private Integer usable;
    }

    @Data
    public static class UsableParam{
        @NotNull
        private Integer userId;
    }

    @Data
    public static class DisableParam{
        @NotNull
        private Integer userId;
    }
}
